package com.tmz.cloudmall.cloudmallware.domain;

import java.math.BigDecimal;

import com.tmz.cloudmall.cloudmallcommon.common.annotation.Excel;
import com.tmz.cloudmall.cloudmallcommon.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 购货详情对象 wms_purchase_detail
 * 
 * @author tmz
 * @date 2025-08-16
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PurchaseDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 采购单id */
    @Excel(name = "采购单id")
    private Long purchaseId;

    /** 采购商品id */
    @Excel(name = "采购商品id")
    private Long skuId;

    /** 采购数量 */
    @Excel(name = "采购数量")
    private Long skuNum;

    /** 采购金额 */
    @Excel(name = "采购金额")
    private BigDecimal skuPrice;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Long wareId;

    /** 状态[0新建，1已分配，2正在采购，3已完成，4采购失败] */
    @Excel(name = "状态[0新建，1已分配，2正在采购，3已完成，4采购失败]")
    private Long status;

}
